<?php
/**
 * Created by PhpStorm.
 * User: teddy
 * Date: 16-1-5
 * Time: 下午2:01
 */

try {
    session_start();
    unset($_SESSION["usr"]);
    session_destroy();
    echo 'Success';
}
catch (Exception $e)
{
    echo ($e->getMessage());
}